package com.cmbchina.designpattern.application.house.material;

/**
 * 砖材料
 */
public class Brick extends Material {
    /**
     * 材料名称：砖
     */
    private static final String BRICK = "Brick";

    /**
     * 材料强度：50
     */
    private static final int strength = 50;

    /**
     * @param amount 材料数量
     * @param unit   数量的单位
     */
    public Brick(int amount, Unit unit) {
        super(BRICK, strength, amount, unit);
    }
}
